package com.proxy.parser.visitor;

import com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlShowDatabasesStatement;
import com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlShowTableStatusStatement;
import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlSchemaStatVisitor;
import com.proxy.parser.ParsedResult;
import com.proxy.parser.PoxyVisitor;
import com.proxy.parser.result.ShowTablesResult;

/**
 * Created by liufish on 16/12/27.
 */
public class ShowTablesVisitor extends MySqlSchemaStatVisitor implements PoxyVisitor {

    private ShowTablesResult  showTablesResult;

    public ShowTablesVisitor(ParsedResult parsedResult){

        this.showTablesResult = (ShowTablesResult)parsedResult;
    }


    @Override
    public boolean visit(MySqlShowTableStatusStatement x) {
        boolean superValue = super.visit(x);
        return superValue;
    }

    @Override
    public void endVisit(MySqlShowTableStatusStatement x) {
        super.endVisit(x);
    }


}
